<!DOCTYPE html>
<html>
    <head>
        <title>致君物控下载</title>
        <script type="text/javascript">
                var browser = {
                    versions: function() {
                        var u = navigator.userAgent, app = navigator.appVersion;
                        return {
                            trident: u.indexOf('Trident') > -1,
                            presto: u.indexOf('Presto') > -1,
                            webKit: u.indexOf('AppleWebKit') > -1,
                            gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1,
                            mobile: !!u.match(/AppleWebKit.*Mobile.*/) || !!u.match(/AppleWebKit/),
                            ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),
                            android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1,
                           iPhone: u.indexOf('iPhone') > -1 || (u.indexOf('Mac') > -1 && u.indexOf('Macintosh')==-1),
                             iPad: u.indexOf('iPad') > -1,
                            webApp: u.indexOf('Safari') == -1
                        };
                    }(),
                }
                if (browser.versions.ios || browser.versions.iPhone || browser.versions.iPad) {
                    window.location = "itms-services://?action=download-manifest&url=https://git.oschina.net/wps8848/ios/raw/master/HWAY_CMS.plist";
                } else if (browser.versions.android) {
                    window.location = "http://cms.szzhijun.com/ScanCode/DldApk";
                } else {
                    alert("未检测到移动设备");
                }
        </script>
    </head>
    <body>
    </body>
</html>
